Automattic\WCServices\StoreNotices\StoreNoticesNotifier S

Total Complexity 37
Dependencies 1
Dependents 4
Total lines 305
Lines of code 119
Logical lines of code 64
Comment lines 134
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
clear_notices()
A
52 9 26
print_notices()
S
58 5 15
add_notice()
S
60 3 13
debug()
S
64 3 10
sanitize_type()
S
70 2 6
maybe_add_notice()
S
68 2 7
format_notice()
S
68 2 7
get_notices()
S
78 2 3
maybe_get_formatted_message()
S
67 2 8
__construct()
S
81 1 3
is_debug_enabled()
S
82 1 3
has_notice()
S
69 1 6
wc_session_exists()
S
79 1 3
info()
S
79 1 3
error()
S
79 1 3
success()
S
79 1 3